﻿using System;
using System.Collections.Generic;
using XmlServer.ServiceContracts;

namespace XmlServer.ServiceImplementation
{
    /// <summary>
    /// The IRequest object is passed to an IOperator for processing.
    /// The IOperator returns an IResponse object
    /// </summary>
    public class Request : IRequest
    {

        /// <summary>
        /// The name of the operator being invoked.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// The cersion of the operator being invoked
        /// </summary>
        public string Version { get; set; }

        /// <summary>
        /// The collection of facts passed to the operator
        /// </summary>        
        public List<IFact> Facts { get; set; }

    }
}
